package com.taoym.voucher.admin.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/9/3 9:39
 * @desc
 */
@Data
public class XcxAddImageDTO implements Serializable {
    @ApiParam(value = "图片类型")
    @NotNull(message = "图片类型不能为空")
    private Integer type;
    @ApiParam(value = "图片")
    @NotNull(message = "图片不能为空")
    private MultipartFile file;
}
